package com.nervenets.web.controller.handler.common;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.validation.Type;

/**
 * Created by Joe on 2018/3/12.
 */
public class IdTokenParams extends TokenParams {
    @NeedValidation(type = Type.POSITIVENUMBER, description = "相应对象的ID")
    private int targetId;

    public int getTargetId() {
        return targetId;
    }

    public void setTargetId(int targetId) {
        this.targetId = targetId;
    }
}
